package com.aizuda.boot.modules.business.negotiation.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName NegotiationConfigSaveDTO
 * @Version 1.0
 * @Date 2025/6/28 15:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同协商配置保存参数")
public class NegotiationConfigUpdateDTO {

    @Schema(description = "合同协商配置ID")
    private Long id;

    @Schema(description = "合同协商配置名称", required = true)
    @NotNull
    private String negotiationName;

    @Schema(description = "流程定义ID",required = true)
    private Long processId;

    @Schema(description = "合同类型")
    private List<Integer> scope;

    @Schema(description = "适用部门")
    private List<Long> department;

    @Schema(description = "优先级")
    private Integer priority;
}
